package com.cat.responsibility;

/**
 * @author cat
 * @version 2025/5/27 13:56
 * @description 小组长(具体处理类)
 * @since JDK17
 */

public class GroupLeader extends Handler {

    public GroupLeader() {
        super(0, Handler.NUM_ONE);
    }

    @Override
    protected void handleLeave(LeaveRequest leave) {
        System.out.println(leave.getName() + "请假" + leave.getDays() + "天,理由:" + leave.getContent());
        System.out.println("小组长审批 : 同意");
    }
}
